﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FressSqlDemo
{
    public class DBHelper
    {
        private readonly static string @connectionString = "Data Source=.;Initial Catalog=FreeSqlDemo;User Id=sa;Password=1;";


        static IFreeSql fsql = new FreeSql.FreeSqlBuilder()
                    .UseConnectionString(FreeSql.DataType.SqlServer, connectionString)
                    .UseAutoSyncStructure(true) //自动同步实体结构到数据库
                    .Build(); //请务必定义成 Singleton 单例模式

        



    }
}
